package com.ddxz.eversec.persistence.mapper;

import com.eversec.jdbc.annotation.JdbcMapper;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2021/7/12
 */

@JdbcMapper
public interface QueryMapper {
    /**
     * 分页检索N1N2数据
     * @return 检索结果
     */
    @Select("select * from everopt_safe_ods.safe_n1n2_new")
    Page<Map<String, Object>> getList();
}
